<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
String updateSuccess = (String)request.getAttribute("updateSuccess");
String updateError = (String)request.getAttribute("updateError");
if(updateSuccess!=null){
%>
<script type="text/javascript" language="javascript">
	alert("<%=updateSuccess%>");
	window.location="home.jsp";
</script>
<% 
}else if(updateError!=null){
 %>
 <script type = "text/javascript" language="javascript">
	alert("<%=updateError%>");
	window.location="home.jsp";
</script>
 <%
}
 %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="css/home.css" />
		<link rel="shortcut icon" href="img/favicon.ico">
	</head>
	<body>
		<!----整个界面--->
		<div class="page">
			<form action="NbaServlet?act=7" method="post">
			<div class="nav">
				<a>欢迎来到NBA球星管理系统</a>
			</div>
            <div class="scroll">
            	<marquee>尊敬的&nbsp;${username}&nbsp;&nbsp;欢迎进入NBA球星管理系统，你想要的应有尽有！！</marquee>
            </div>
			<div class="left">
			<div class="img">
				<img src="img/11.png" width="200" height="100">
			</div>
             <div class="small_left1></div>
             <div class="small_left1"></div>
             <div class="small_left1"></div>
             <div class="small_left1"></div>
              <div class="small_left" onclick="window.location.href= 'qiuyuanxinxi.jsp'">
             	<a href="qiuyuanxinxi.jsp"><img src="img/15.ico" width="30px" height="30px">球员信息</a>
             </div>
             <div class="small_left" onclick="window.location.href= 'qiuduixinxi.jsp'">
             	<a href="#"><img src="img/1.ico" width="30px" height="30px">球队信息</a>
             </div>
             <div class="small_left" onclick="window.location.href= 'lishi.jsp'">
             	<a href="lishi.jsp"><img src="img/3.ico" width="30px" height="30px">球队历史</a>
             </div>
            
             <div class="small_left" onclick="window.location.href= 'wodeqiudui.jsp'"><a href="wodeqiudui.jsp"><img src="img/2.png" width="30px" height="30px">我的球队</a></div>
              <div class="small_left" onclick="window.location.href= 'home.jsp'"><a href="home.jsp"> <img src="img/20.ico" width="30px" height="30px">个人中心</a></div>
                <div class="zi">
                <a href="shouye.jsp">返回首页</a>
             </div>
			</div>
			<div class="right_img">
				<div class="box">
				<table>
					<tr style="width: 100;height: 40; ">
						<td align="right">修改用户名：</td>
						<td ><input type="text" name="username"  style="width: 200px; height: 35px;" /></td>
						<td><a>*用户名长度在4-16之间</a></td>
					</tr>
					<tr style="width: 100;height: 40; " >
						<td align="right">旧密码：</td>
						<td ><input type="password" name="oldpassword"  style="width: 200px; height: 35px;" /></td>
						<td><a>*请输入原密码</a></td>
					</tr>
					<tr style="width: 100;height: 40; ">
						<td align="right">新密码：</td>
						<td ><input type="password" name="newpassword" style="width: 200px; height: 35px;" /></td>
						<td><a>*请输入新密码</a></td>
					</tr>
					<tr style="width: 100;height: 40; ">
						<td align="right">确认新密码：</td>
						<td ><input type="password" name="newpassword1"  style="width: 200px; height: 35px;" /></td>
						<td><a>*请输入新确认密码，保证和新密码一致</a></td>
					</tr>
				</table>
				<div class="anniu">
					<input type="submit" value="保存" style="width: 80px; height: 35px; background-color:#EE7942"/>
					<input type="reset" value="重置" style="width: 80px; height: 35px; background-color:#EE7942" />
				</div>
				</div>
				</div>
			</div>
			
		</div>
		</form>
	</body>
</html>
